package de.tum.se.sudoku.impl;
/**
 * A single cell of the sudoku grid
 * @author michi
 *
 */
public abstract class Cell {
	protected int value;

	public int getValue() {
		return value;
	}

	abstract public void setValue(int value);
	
	public boolean isValid() {
		if (value >= 0 && value <= 9)
			return true;
		else
			return false;
	}
	
	public String toString() {
		return String.valueOf(value);
	}
}
